package com.tanjie.blackbean.pojo.system;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author: tanjie
 * @date: 2022-04-21
 **/
@Getter
public enum ClientType {

    SYS("SYS", 1, "系统后台"),
    OPT_PC("OPT_PC", 2, "运营商PC端"),
    OPT_H5("OPT_H5", 3, "运营商H5移动端");

    private final String key;

    @EnumValue
    @JsonValue
    private final Integer code;

    private final String desc;

    ClientType(String key, Integer code, String desc) {
        this.key = key;
        this.code = code;
        this.desc = desc;
    }

}
